package moe.bogos.douro.api.client;

import moe.bogos.douro.api.DouroAPI;
import moe.bogos.douro.api.client.entity.render.SoulRingDropRenderer;
import moe.bogos.douro.api.common.entity.DAEntities;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

@Mod.EventBusSubscriber(modid = DouroAPI.MODID,bus= Mod.EventBusSubscriber.Bus.MOD, value= Dist.CLIENT)
public class ClientEventSubscriber
{
    @SubscribeEvent
    public static void init(final FMLClientSetupEvent event)
    {
        RenderingRegistry.registerEntityRenderingHandler(DAEntities.SOUL_RING, SoulRingDropRenderer::new);
    }
}
